#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_testmenucount.h"
#include <qlist.h>

QT_BEGIN_NAMESPACE
class QAction;
class QMenu;
QT_END_NAMESPACE

class testmenucount : public QMainWindow
{
    Q_OBJECT

public:
    testmenucount(QWidget *parent = Q_NULLPTR);
protected:
    void OnInitDialog();
private:
    QList<QAction*>GetActions(QMenu *menu);
    QList<QAction*>GetActions(QMenuBar* menubar);
private:
    Ui::testmenucountClass ui;
};
